package com.dc.designPattern._4_builder.extend.improve;

import java.util.List;

/**
 * Description: 具体构造者_奔驰车模型构造者
 * @author: gdc
 * @date: 2021/6/21
 * @version 1.0
 */
public class BenzBuilder implements CarBuilder {

    private BenzModel benzCarModel = new BenzModel();

    @Override
    public void setSequence(List<String> sequence) {
        benzCarModel.setSequence(sequence);
    }

    @Override
    public CarModel build() {
        return this.benzCarModel;
    }
}
